<?php

namespace app\admin\model\information;
use think\Model;

class U8fitem extends Model
{
    protected $connection = "database.sec";
    protected $table = "fitem";
  
    public static function getCItemList(){
        $arr = self::field('citem_class,citem_name')->select();
        $temp = [];
        if($arr){
            foreach ($arr as $ar){
                $temp[$ar['citem_class']] = $ar['citem_name'];
            }
        }
        return $temp;
    }
}